<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f5f7fa;
            color: #333;
            height: 100vh;
            /* display: flex; */
            justify-content: center;
            align-items: center;
        }

        .welcome-container {
            text-align: center;
            padding: 2rem;
        }

        .welcome-content {
            position: relative;
            padding: 30px 0;
            overflow: hidden;
        }

        .welcome__title {
            font-size: 32px;
            font-weight: bold;
            line-height: 40px;
            color: #1482f0;
            opacity: 0;
            margin-bottom: 20px;
            animation-name: slideUp;
            animation-duration: 0.5s;
            animation-fill-mode: forwards;
        }

        .welcome__subtitle {
            font-size: 20px;
            line-height: 24px;
            color: #222;
            font-weight: bold;
            opacity: 0;
            margin-bottom: 10px;
            animation-name: slideUp;
            animation-duration: 0.5s;
            animation-delay: 0.1s;
            animation-fill-mode: forwards;
        }

        .welcome__info {
            font-size: 13px;
            line-height: 21px;
            color: grey;
            opacity: 0;
            margin-bottom: 30px;
            animation-name: slideUp;
            animation-duration: 0.5s;
            animation-delay: 0.2s;
            animation-fill-mode: forwards;
        }

        .divider {
            width: 80%;
            border-bottom: 2px dashed #20a0ff;
            margin: 30px auto;
            opacity: 0;
            animation-name: slideUp;
            animation-duration: 0.5s;
            animation-delay: 0.3s;
            animation-fill-mode: forwards;
        }

        form {
            opacity: 0;
            animation-name: slideUp;
            animation-duration: 0.5s;
            animation-delay: 0.4s;
            align-content: center;
            animation-fill-mode: forwards;
            width: 300px;
            text-align: center;
        }

        input[type="text"],
        input[type="password"] {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            background-color: #f9f9f9;
            transition: all 0.3s;
        }

        input[type="text"]:focus,
        input[type="password"]:focus {
            border-color: #20a0ff;
            box-shadow: 0 0 0 2px rgba(32, 160, 255, 0.2);
            outline: none;
            background-color: white;
        }

        input[type="submit"] {
            background: #1482f0;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 12px 30px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
        }

        input[type="submit"]:hover {
            background: #0d6fd8;
            box-shadow: 0 4px 8px rgba(32, 160, 255, 0.3);
        }

        @keyframes slideUp {
            0% {
                transform: translateY(60px);
                opacity: 0;
            }

            100% {
                transform: translateY(0);
                opacity: 1;
            }
        }
    </style>
</head>

<body>
    <div class="welcome-container">
        <div class="welcome-content">
            <div class="welcome__title">WELCOME TO MAPLEC</div>
            <div class="welcome__info">All rights reserved
                <a style="color:#20a0ff" href="https://cenxiaowei.top" target="_blank">cen</a>
            </div>
            <div class="welcome__info">Gitee link
                <a style="color:#20a0ff" href="https://gitee.com/cen-code/maplec" target="_blank">maplec</a>
            </div>
            <div class="welcome__subtitle">A lightweight and high-performance Web server developed based on C++</div>
            <div class="welcome__info">C++ & Linux & Reactor</div>
        </div>
    </div>

    <div class="divider"></div>

    <form action="/login" method="post">
        <input type="text" name="username" placeholder="用户名"><br />
        <input type="password" name="password" placeholder="密码"><br />
        <input type="submit" value="提交" name="submit">
    </form>

</body>

</html>